import request from "../http";

// 获取培训通知列表
export function getTrainNoticeList(query) {
  return request({
    url: "/companytrain/notice/list",
    method: "GET",
    params: query
  });
}
// 培训通知详情
export function getTrainNoticeDetail(query) {
  return request({
    url: "/companytrain/notice/detail/" + query,
    method: "GET",
  });
}
// 获取在线课程列表
export function getOnlineCourseList(query) {
  return request({
    url: "/companytrain/online/list",
    method: "GET",
    params: query
  });
}
// 在线课程详情
export function getonlineCourseDetail(query) {
  return request({
    url: "/companytrain/online/detail/" + query,
    method: "GET",
  });
}
